package com.bw.bean;

import java.util.List;

public class Singer {
    private Integer cid;
    private String cname;

    private List<Song> slist;

    @Override
    public String toString() {
        return "Singer{" +
                "cid=" + cid +
                ", cname='" + cname + '\'' +
                ", slist=" + slist +
                '}';
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public List<Song> getSlist() {
        return slist;
    }

    public void setSlist(List<Song> slist) {
        this.slist = slist;
    }

    public Singer() {
    }

    public Singer(Integer cid, String cname, List<Song> slist) {
        this.cid = cid;
        this.cname = cname;
        this.slist = slist;
    }
}
